package com.hs.carrental.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户编号
     */
    @TableId(value = "customerId", type = IdType.AUTO)
    private Integer customerId;

    /**
     * 客户登录账号
     */
    @TableField("customerAccount")
    private String customerAccount;

    /**
     * 客户登录密码
     */
    @TableField("customerPassword")
    private String customerPassword;

    /**
     * 客户姓名
     */
    @TableField("customerName")
    private String customerName;

    /**
     * 客户性别（0:女,1:男）
     */
    @TableField("customerSex")
    private Integer customerSex;

    /**
     * 客户年龄
     */
    @TableField("customerAge")
    private Integer customerAge;

    /**
     * 客户身份证
     */
    @TableField("customerIdNum")
    private String customerIdNum;

    /**
     * 客户电话
     */
    @TableField("customerPhone")
    private String customerPhone;

    /**
     * 客户头像
     */
    @TableField("customerAvatar")
    private String customerAvatar;

    /**
     * 客户驾驶证号
     */
    @TableField("customerDriveId")
    private String customerDriveId;

    /**
     * 客户驾照类型
     */
    @TableField("customerDriveType")
    private String customerDriveType;

    /**
     * 驾龄
     */
    @TableField("customerDriveAge")
    private String customerDriveAge;

    /**
     * 客户创建时间
     */
    @TableField("customerTime")
    private LocalDateTime customerTime;

    /**
     * 客户状态(0:启用;禁用)
     */
    @TableField("customerState")
    private String customerState;


}
